score = int(input("请输入成绩："))
if score >= 90:
    print("A")
elif 90 > score >= 60:
    print("B")
else:
    print("C")
